package com.mida.dms.knw.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mida.dms.knw.entity.KnwIndividualRelation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <h1>实例关系vo</h1>
 * <p>
 *
 * </p>
 *
 * @author jian.li on 2021/7/15 14:47
 */
@Data
@ApiModel(description = "实例关系vo")
public class KnwIndividualRelationVo extends KnwIndividualRelation {

    @ApiModelProperty(value = "源实例对应本体名称")
    private String sourceNoumenonName;

    @ApiModelProperty(value = "源实例soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long sourceNoumenonSoid;

    @ApiModelProperty(value = "实例关系名称")
    private String individualRelationName;

    @ApiModelProperty(value = "目标实例对应本体名称")
    private String targetNoumenonName;

    @ApiModelProperty(value = "目标实例对应本体soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long targetNoumenonSoid;

    @ApiModelProperty(value = "源实例名称")
    private String sourceIndividualName;

    @ApiModelProperty(value = "目标实例名称")
    private String targetIndividualName;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

}
